package cn.oms.drugknowledge.provider.dao.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author AllenChen曾晨
 * @since 2022-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("drug_usage_and_dosage")
@ApiModel(value="DrugUsageAndDosage对象", description="")
public class DrugUsageAndDosage implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID（新增自增）(UUID)")
    @TableField("ID")
    private String id;

    @ApiModelProperty(value = "药品CODE（对应药品信息表）")
    @TableField("DRUG_CODE")
    private String drugCode;

    @ApiModelProperty(value = "症状CODE（对应病例症状表）（某个症状的用法）")
    @TableField("SYMPTOM_CODE")
    private String symptomCode;

    @ApiModelProperty(value = "症状名称（中文）")
    @TableField("SYMPTOM_NAME_CN")
    private String symptomNameCn;

    @ApiModelProperty(value = "症状名称（英文）")
    @TableField("SYMPTOM_NAME_EN")
    private String symptomNameEn;

    @ApiModelProperty(value = "其他备注")
    @TableField("OTHER_REMARK")
    private String otherRemark;

    @ApiModelProperty(value = "剂量动词CODE（对应剂量动词字典表）")
    @TableField("DOSE_VERB_CODE")
    private String doseVerbCode;

    @ApiModelProperty(value = "剂量动词名称（英文）")
    @TableField("DOSE_VERB_NAME_EN")
    private String doseVerbNameEn;

    @ApiModelProperty(value = "剂量动词名称（中文）")
    @TableField("DOSE_VERB_NAME_CN")
    private String doseVerbNameCn;

    @ApiModelProperty(value = "需要溶剂标志(0不需要 1需要)")
    @TableField("NEED_SOLVENT_FLAG")
    private Integer needSolventFlag;

    @ApiModelProperty(value = "溶剂CODE(对应溶剂表)(药品表中的溶媒)(药品或产品CODE)")
    @TableField("SOLVENT_CODE")
    private String solventCode;

    @ApiModelProperty(value = "溶剂名称（英文）")
    @TableField("SOLVENT_NAME_EN")
    private String solventNameEn;

    @ApiModelProperty(value = "溶剂名称（中文）")
    @TableField("SOLVENT_NAME_CN")
    private String solventNameCn;

    @ApiModelProperty(value = "溶剂量（0.5、0.167）")
    @TableField("SOLVENT_NUM")
    private BigDecimal solventNum;

    @ApiModelProperty(value = "溶剂单位CODE（对应单位表）")
    @TableField("SOLVENT_UNIT_CODE")
    private String solventUnitCode;

    @ApiModelProperty(value = "溶剂单位名称（%、mol/L）")
    @TableField("SOLVENT_UNIT_NAME")
    private String solventUnitName;

    @ApiModelProperty(value = "频次CODE（对应药品频次表）")
    @TableField("FREQUENCY_CODE")
    private String frequencyCode;

    @ApiModelProperty(value = "频次详情")
    @TableField("FREQUENCY_DETAIL")
    private String frequencyDetail;

    @ApiModelProperty(value = "补充频次CODE")
    @TableField("SUPPLEMENTARY_FREQUENCY_CODE")
    private String supplementaryFrequencyCode;

    @ApiModelProperty(value = "补充频次详情")
    @TableField("SUPPLEMENTARY_FREQUENCY_DETAIL")
    private String supplementaryFrequencyDetail;

    @ApiModelProperty(value = "用餐时间CODE")
    @TableField("MEAL_TIME_CODE")
    private String mealTimeCode;

    @ApiModelProperty(value = "用餐时间详情")
    @TableField("MEAL_TIME_DETAIL")
    private String mealTimeDetail;

    @ApiModelProperty(value = "用量")
    @TableField("USE_LEVEL")
    private BigDecimal useLevel;

    @ApiModelProperty(value = "区间标记（0非 1是）")
    @TableField("INTERVAL_MARK")
    private Integer intervalMark;

    @ApiModelProperty(value = "用量区间最高")
    @TableField("USE_LEVEL_MAX")
    private BigDecimal useLevelMax;

    @ApiModelProperty(value = "用量区间最低")
    @TableField("USE_LEVEL_MIN")
    private BigDecimal useLevelMin;

    @ApiModelProperty(value = "用量单位CODE（对应单位表）")
    @TableField("USE_LEVEL_UNIT_CODE")
    private String useLevelUnitCode;

    @ApiModelProperty(value = "用量单位名称")
    @TableField("USE_LEVEL_UNIT_NAME")
    private String useLevelUnitName;

    @ApiModelProperty(value = "创建人ID")
    @TableField("CREATE_MAN_CODE")
    private String createManCode;

    @ApiModelProperty(value = "创建人姓名")
    @TableField("CREATE_MAN_NAME")
    private String createManName;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private LocalDate createTime;

    @ApiModelProperty(value = "删除标记")
    @TableField("DEL_FLAG")
    private Integer delFlag;


}
